<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
							<div class="form-group">
								<input type="hidden" name="pId" id="pId" value="">
								<label class="col-sm-3 control-label">选择商品：</label>
								<div class="col-sm-8">
									<input class="form-control" type="text" onclick="openinfo()"
										   readonly="readonly" placeholder="选择商品">
								</div>
								<div>
									<table id="goodsTable" data-mobile-responsive="true">
									</table>
								</div>
							</div>

							<!--<div class="form-group">
								<label class="col-sm-3 control-label">文件</label>
								<div class="col-sm-8">
									<input id="newsimg" name="newsimg" class="form-control" type="file">
									<button type="button" class="layui-btn" id="test2">
										<i class="fa fa-cloud"></i>上传文件
									</button>
									<img width="200" src="" id="imgtest1"/>
								</div>
							</div>-->

							<div class="form-group">
								<label class="col-sm-3 control-label">文件:</label>
								<div class="col-sm-8" id="uploadImgBtn">
									<span>
									<input id="input-id" name="file" class="file-loading" multiple type="file" data-show-caption="true">
										"选择本地文件上传(可多选)"
									</span>
									<div class="gallery" id="gallery"></div>
								</div>
							</div>



							<div class="form-group">	
								<label class="col-sm-3 control-label">商品名称/规格：</label>
								<div class="col-sm-8">
									<input id="ordernumber" name="ordernumber" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">供应商：</label>
								<div class="col-sm-8">
									<input id="suppliername" name="suppliername" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">制单日期：</label>
								<div class="col-sm-8">
									<input id="busunessdate" name="busunessdate"  class="laydate-icon layer-date form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">应付金额：</label>
								<div class="col-sm-8">
									<input id="payable" name="payable" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">定金：</label>
								<div class="col-sm-8">
									<input id="earnestmoney" name="earnestmoney" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">审核人：</label>
								<div class="col-sm-8">
									<input id="auditor" name="auditor" class="form-control" type="text">
								</div>
							</div>

							<div class="form-group">
								<label class="col-sm-3 control-label">数量：</label>
								<div class="col-sm-8">
									<input id="orderquantity" name="orderquantity" class="form-control" type="text">
								</div>
							</div>

							<div class="form-group">
								<label class="col-sm-3 control-label">单据编号：</label>
								<div class="col-sm-8">
									<input id="number" name="number" class="form-control" type="text">
								</div>
							</div>

							<div class="form-group">
								<label class="col-sm-3 control-label">处理状态：</label>
								<div class="col-sm-8">
									<input id="state" name="state" class="form-control" type="text">
								</div>
							</div>

							<!--							<div class="form-group">
								<label class="col-sm-3 control-label">备注：</label>
								<div class="col-sm-8">
									<input id="remarks" name="remarks" class="form-control" type="text">
								</div>
							</div>-->


							<div class="form-group">
								<input id="remarks" name="remarks" type="hidden"> <label
									class="col-sm-1 control-label">备注：</label>
								<div class="col-sm-11">
									<div class="ibox-content no-padding">
										<div id="content_sn" class="summernote"></div>
									</div>
								</div>
							</div>


																					<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>

	<script type="text/javascript" src="/js/appjs/repertory/kucun/js/fileinput.js"></script>
	<script type="text/javascript" src="/js/appjs/repertory/kucun/js/locales/zh.js"></script>
	<script type="text/javascript" src="/js/appjs/repertory/kucun/js/plugins/piexif.js"></script>
	<script type="text/javascript" src="/js/appjs/repertory/porder/add.js"></script>        <!--用bootstrap进行文件上传（引入3个js和1个css）-->
	<link rel="stylesheet" href="/js/appjs/repertory/kucun/css/fileinput.css">

</body>
</html>
